//
//  PAWKWebViewCell.h
//  PilotSeries
//
//  Created by 黄立强 on 16/7/5.
//  Copyright © 2016年 leon.huang. All rights reserved.
//

#import <UIKit/UIKit.h>
@import WebKit;

@class PAWKWebViewCell;
@class ChartConfig;
@protocol  PAWKWebViewCellDelegete <NSObject>

-(void)webviewCellclickCloseItem:(PAWKWebViewCell *)cell;

@end
@interface PAWKWebViewCell : UICollectionViewCell
+ (instancetype) cellWithCollection:(UICollectionView *)collectionView forIndexPath:indexPath;

@property (nonatomic,strong)WKWebView *webView;

/**  */
//@property (copy, nonatomic) NSString *url;

@property (strong, nonatomic) NSURL *url;

@property(nonatomic, strong) UIButton *closeBtn;

@property(nonatomic, weak) id<PAWKWebViewCellDelegete> closeDelegate;

@property(nonatomic, strong) ChartConfig *chartConfig;
@end
